<?php

$Name = "APT"; //senders name
$email = "mdat@mdat.com.br"; //senders e-mail adress
//$recipient = "mdatdobrasil@hotmail.com"; //recipient
$recipient = "alexandreapt@fortalnet.com.br"; //recipient
$mail_body = "teste cpd"; //mail body
$subject = "Contato"; //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields

ini_set('sendmail_from', 'mdat@mdat.com.br'); //Suggested by "Some Guy"

mail($recipient, $subject, $mail_body, $header); //mail command :)
?>